<table id="table" class="table table-striped table-bordered table-hover" width="100%">
    <thead>

    <tr>
        <th style="text-align: center; vertical-align: middle; " data-field="id">
            <div class="th-inner ">id</div>
            <div class="fht-cell"></div>
        </th>
        <th style="text-align: center; vertical-align: middle; " data-field="goods_name">
            <div class="th-inner ">商品名称</div>
            <div class="fht-cell"></div>
        </th>
        <th style="text-align: center; vertical-align: middle; " data-field="goods_image">
            <div class="th-inner ">商品图片</div>
            <div class="fht-cell"></div>
        </th>
        <th style="text-align: center; vertical-align: middle; " data-field="num">
            <div class="th-inner ">商品数量</div>
            <div class="fht-cell"></div>
        </th>
        <th style="text-align: center; vertical-align: middle; " data-field="goods_price">
            <div class="th-inner ">商品单价</div>
            <div class="fht-cell"></div>
        </th>
        <th style="text-align: center; vertical-align: middle; " data-field="createtime">
            <div class="th-inner ">创建时间</div><div class="fht-cell"></div></th>
    </tr>
    </thead>
    <tbody data-listidx="0">
    {foreach $detail as $v}
    <tr data-index="0">
        <td style="text-align: center; vertical-align: middle; ">{$v.id}</td>
        <td style="text-align: center; vertical-align: middle; ">{$v.goods_name}</td>
        <td style="text-align: center; vertical-align: middle; "><img width="50px" height="50px" src="{$v.goods_image}" alt=""></td>
        <td style="text-align: center; vertical-align: middle; ">{$v.num}</td>
        <td style="text-align: center; vertical-align: middle; ">{$v.goods_price}</td>
        <td style="text-align: center; vertical-align: middle; ">{$v.createtime}</td>
    </tr>
    {/foreach}
    </tbody>
</table>
{include file="auth/rule/tpl" /}
